package com.bytech.common.biz.entity.comment;

import java.util.List;

import com.bytech.common.biz.entity.article.Article;
import com.bytech.common.biz.entity.blogUser.BlogUser;
import com.bytech.common.biz.entity.blogUser.BlogUserAgent;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @Author Zhao
 * @Create 2021/9/22 17:12
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class CommentDto extends Comment {

    private static final long serialVersionUID = 1721386045387722952L;

    private CommentDto parentComment;
    private BlogUserAgent commentator;
    private Article article;
    private List<CommentDto> replyList; // 当前评论的回复列表
    private Boolean hasMoreReply;
    private Integer curReplyPage = 1;
    private Boolean thumbed; // 是否已点赞

    private String commentatorName;
    private String commentatorEmail;
    private String commentatorAvatar;
}
